class MivaEgret {
  public constructor() {
    this.createMiva()
    setInterval(this.settingStyle, 200)
  }
  private createMiva() {
    // const div = document.createElement('div')
    // div.id = "MivaEgret"
    // $('body').prepend(div)
  }
  private settingStyle() {
    const miva = $('#MivaEgret')
    const canvas_egret = $('.egret-player>canvas')
    const style = `${canvas_egret.attr('style')}width:${canvas_egret.width()}px;height:${canvas_egret.height()}px`
    miva.attr('style', style)
  }

}